package com.aaa.tars;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @FileName: SpringbootMybatisApplication
 * @Description:
 * @Author: zhz
 * @CreateTime: 2025/7/4 10:27
 * @Version: 1.0.0
 */
@SpringBootApplication  // SpringBoot启动类注解
@MapperScan("com.aaa.tars.dao")  //扫描dao接口
@EnableScheduling // 启用定时任务
public class SpringbootMybatisApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringbootMybatisApplication.class,args);
    }
}
